import com.github.timeloveboy.moeserver.Server;
import com.github.timeloveboy.moeserver.ServerDriver.netty.nettyServer;

/**
 * Created by root on 17-6-14.
 */
public class MainApp {
    public static void main(String[] args) throws Exception {
        Server s = Server.getInstance();

        s.RegisterDriver(new nettyServer().setBufMax(1024 * 1024));

        s.RegisterModulePath("handler").SetPort(8090);
        s.Run();
    }

}
